//
//  BaseRequestApi.h
//  Learn
/*-- 项目API --*/
//  Created by cjg on 2018/11/1.
//  Copyright © 2018 cjg. All rights reserved.
//

#ifndef BaseRequestApi_h
#define BaseRequestApi_h

#ifdef DEBUG
//测试环境
//#define BaseUrl @"https://d-xueer.bigchun.com"//服务器地址-- 开发环境
#define webUrl @"https://d-xueer.bigchun.com/h5test/"//服务器地址--内网测试环境
#define BaseUrl @"https://d-xueer.bigchun.com"//服务器地址--外网测试环境
//#define BaseUrl @"https://d-xueer.bigchun.com"//服务器地址--正式环境
#else
//正式环境
#define BaseUrl @"https://d-xueer.bigchun.com"//服务器地址--正式环境
//#define BaseUrl @"https://d-xueer.bigchun.com"//服务器地址--正式环境
#define webUrl @"https://d-xueer.bigchun.com/h5test/"//服务器地址--内网测试环境
#endif

//API打印日志
#define KMRequestOpenLog 1

//**********************************//
//*           首页模块               *//
//**********************************//

//h5 页面
#define H5_API_word          @"#/word"   //背单词
#define H5_API_listen          @"#/listening"   //听力
#define H5_API_wrongBook          @"#/wrongBook/testList"   //错题本
#define H5_API_phoneticPractice         @"#/phoneticPractice"   //音标专练
#define H5_API_homework @"#/homework"   //课后作业 - 机房考试
#define H5_API_writtenTest @"#/writtenTest"   //笔试
#define phoneticSymbol @"#/phoneticSymbol"   //音标
#define H5_API_mode @"#/mode"   //典范
#define H5_API_newConcept @"#/newConcept"   //新概念
#define H5_API_heibulin @"#/heibulin"   //黑布林
#define H5_API_taskLook @"#/taskLook/list"

#define H5_API_brushWords @"#/brushWords"//刷单词

#define H5_API_vocabularyList @"#/vocabularyList"//教材同步

#define H5_API_followReading @"#/followReading"//跟读


#define KM_API_HomePage          @"/api/index/getIndexSetting"   //首页
#define KM_API_QupeiyinList      @"/api/fun/getList"            //趣配音列表
#define KM_API_QupeiyinDetail    @"/api/fun/getInfo"           //趣配音详情
#define KM_API_Scan              @"/api/textbook/search"        //搜索


///听说
#define KM_API_Hearsay           @"/api/hearsay"               //教材列表
#define KM_API_HearsayDetail      @"/api/hearsay/detail"               //教材详情
#define KM_API_HearsayChapterList      @"/api/hearsay/chapterlist"               //教材详情
#define KM_API_HearsayChapterDetail      @"/api/hearsay/chapterdetail"               //教材详情
#define KM_API_HearsayQuestions      @"/api/hearsay/questions"               //教材详情
#define KM_API_Grade      @"/api/grade_t"               //年级
///听力
#define KM_API_Listenling           @"/api/listening"               //教材列表
#define KM_API_ListenlingDetail      @"/api/listening/detail"               //教材详情
#define KM_API_ListenlingChapterList      @"/api/listening/chapterlist"
#define KM_API_ListeningChapterDetail      @"/api/listening/chapterdetail"
#define KM_API_ListeningQuestions      @"/api/listening/questions"
#define KM_API_textbookstudent      @"/api/textbook/textbookstudent"

//登录
#define KM_API_User_Login_Url    @"/api/user/login"

#define KM_API_User_Login_Captcha_Url    @"/api/common/captcha"

#define KM_API_User_Info_Url @"/api/user/getuserinfo"

#define KM_API_Mine_Set_Msg_Url @"/api/index/getSetting"

#define KM_API_Mine_Eye_Set_Url @"/api/user/updateEye"

#define KM_API_VIP_List_Url @"/api/vip/getVip"

#define KM_API_VIP_INFO_Url @"/api/vip/getVipInfo"

#define KM_API_Order_List_Url @"/api/vip/getOrderList"

#define KM_API_Create_Order_List_Url @"/api/vip/createOrder"

#define KM_API_Modifty_UserInfo_Url @"/api/user/profile"

#define KM_API_About_Url @"/api/index/getAbout"

#define KM_API_Upload_Url @"/api/common/upload"

#define KM_API_Hearsay_Url @"/api/hearsay"

#define KM_API_Question_Url @"/api/index/getProblem"

#define KM_API_Message_List_Url @"/api/message/getList"

#define KM_API_Message_Info_Url @"/api/message/getInfo"

#define KM_API_Add_Feedback_Url @"/api/index/addFeedback"

#define KM_API_StudyLogList_Url @"/api/answer/getStudyLogList"

#define KM_API_MissionHistory_Url @"/api/answer/getMissionHistory"

#define KM_API_GetSchoolList_Url @"/api/user/getSchoolList"

#define KM_API_JoinClass_Url @"/api/user/joinClass"

#define KM_API_Area_Url @"/api/address/area"

#define KM_API_SMS_Url @"/api/sms/send"

#define KM_API_ChangeMobile_Url @"/api/user/changemobile"

#define KM_API_ResetPWD_Url @"/api/user/resetpwd"

#define KM_API_CheckPhoneNumber_Url @"/api/user/checkMobile"

#define KM_API_RetriePwd_Url @"/api/user/retrievepwd"


///跟读
#define KM_API_Repeat           @"/api/repeat"               //教材列表
#define KM_API_RepeatDetail      @"/api/repeat/detail"               //教材详情
#define KM_API_RepeatChapterList      @"/api/repeat/chapterlist"               //教材详情
#define KM_API_RepeatChapterDetail      @"/api/repeat/chapterdetail"
#define KM_API_RepeatQuestions      @"/api/repeat/questions"               //教材详情

///笔试
#define KM_API_Writing          @"/api/writing"               //教材列表
#define KM_API_WritingDetail      @"/api/writing/detail"               //教材详情
#define KM_API_WritingChapterList      @"/api/writing/chapterlist"
#define KM_API_WritingChapterDetail      @"/api/writing/chapterdetail"
#define KM_API_WritingQuestions      @"/api/writing/questions"               //教材详情


///音标
#define KM_API_Soundmark          @"/api/soundmark"               //教材列表
#define KM_API_SoundmarkDetail      @"/api/soundmark/detail"               //教材详情
#define KM_API_SoundmarkChapterList      @"/api/soundmark/chapterlist"
#define KM_API_SoundmarkChapterDetail      @"/api/soundmark/chapterdetail"
#define KM_API_SoundmarkQuestions      @"/api/soundmark/questions"

///典范
#define KM_API_Modelsp          @"/api/modelsp"               //教材列表
#define KM_API_ModelspDetail      @"/api/modelsp/detail"               //教材详情
#define KM_API_ModelspChapterList      @"/api/modelsp/chapterlist"
#define KM_API_ModelspChapterDetail      @"/api/modelsp/chapterdetail"
#define KM_API_ModelspQuestions      @"/api/modelsp/questions"               //教材详情

///新概念
#define KM_API_Newconcept          @"/api/newconcept"               //教材列表
#define KM_API_NewconceptDetail      @"/api/newconcept/detail"               //教材详情
#define KM_API_NewconceptChapterList      @"/api/newconcept/chapterlist"
#define KM_API_NewconceptChapterDetail      @"/api/newconcept/chapterdetail"
#define KM_API_NewconceptQuestions      @"/api/newconcept/questions"

///黑布林
#define KM_API_Blackplum          @"/api/blackplum"               //教材列表
#define KM_API_BlackplumDetail      @"/api/blackplum/detail"               //教材详情
#define KM_API_BlackplumChapterList      @"/api/blackplum/chapterlist"
#define KM_API_BlackplumChapterDetail      @"/api/blackplum/chapterdetail"
#define KM_API_BlackplumQuestions      @"/api/blackplum/questions"

///教材同步相关
#define KM_API_Textbook         @"/api/textbook/textbooksp"               //教材列表
#define KM_API_TextbookUnit      @"/api/textbook/unit"               //教材详情
#define KM_API_TextbookUnitWord      @"/api/textbook/unitword"               //教材详情
#define KM_API_TextbookWordinfo      @"/api/textbook/wordinfo"
#define KM_API_Textbooksp     @"/api/textbook/textbooksp"

///答题相关接口
#define KM_API_Upload         @"/api/common/upload"               //答题录音等文件OSS上传接口
#define KM_API_SaveMissionAnswer         @"/api/answer/saveMissionAnswer"               //提交答案接口
#define KM_API_GetMissionAnswerDetail         @"/api/answer/getMissionAnswerDetail"               //获取答题结果列表
#define KM_API_SaveMission         @"/api/answer/saveMission"               //提交作业
#define KM_API_getMissionDetail         @"/api/answer/getMissionDetail"               //查看得分情况与班级得分情况


/*************  模块二接口  begin   ************/

//背单词首页
#define KM_API_CiHuiHomePage      @"/api/reciting"
//词汇列表
#define KM_API_CiHuiList      @"/api/reciting/bookList"
//教程分类列表
#define KM_API_JiaoCaiList      @"/api/reciting/getBookCategory"
//根据教材获取天数和每天单词量
#define KM_API_RecitingSetting      @"/api/reciting/getSetting"
//设置 修改计划
#define KM_API_SetPlan      @"/api/reciting/updatePlan"
//已学未学列表
#define KM_API_wordList      @"/api/reciting/studyOrNo"
/*************  模块二接口  end  ************/
//单词详情
#define KM_API_getWordsInfo      @"/api/reciting/getWordsInfo"
//开始背单词列表
#define KM_API_getRecitingWordList     @"/api/reciting/getwordslist"


//pk首页
#define KM_API_getPkHome    @"/api/reciting/pkIndex"

//单词pk
#define KM_API_getPkMatchData    @"/api/reciting/pk"

//单词pk 结果保存
#define KM_API_postSavePkResult    @"/api/reciting/savePk"

//提交练习
#define KM_API_postSaveExercise    @"/api/new_answer/saveExercise"


//刷单词列表
#define KM_API_brushWordList @"/api/reciting/brushWordsList"

//添加刷单词记录
#define KM_API_addWords   @"/api/reciting/addWords"

//单词详情
#define KM_API_getShuaWordInfo    @"/api/reciting/wordsInfo"

#define KM_API_checkVersion    @"/api/common/checkVersion"


/*************  模块二接口  end  ************/

#endif /* BaseRequestApi_h */
